<%--
  Created by IntelliJ IDEA.
  User: MySunshine
  Date: 2022/10/25
  Time: 14:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>头像上传与账号获取</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <style>
        body{
            color: rgba(153, 149, 149, 0.94);
            font-size: 20px;
            margin: 0;
            padding-top: 80px;
            text-align: center;
            background: linear-gradient(#25517f, #17649d);
            background-size: 100%;
        }
        .layui-row{

            text-align: center;
        }
      .p{
          position: absolute;
          right: -40px;
      }
    </style>
</head>
<body>
<div class="layui-row layui-col-md4 layui-col-md-offset4">
<form class="layui-form" action="/UserGetImg" id="myForm"  enctype="multipart/form-data" method="post">
    <h1 style="padding: 50px">恭喜您注册成功</h1>
    <div class="layui-form-item">
        <label class="layui-form-label">您的账号</label>
    <div class="layui-input-inline">
            <input type="text" name="num" readonly value="${num}" lay-verify="required" placeholder="${num} " autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">请牢记您的账号</div>
    </div>
    <h1 style="padding:40px;font-size: 20px;">用户自定义头像||跳过默认系统头像</h1>
      <div class="p">
        <input type="file" name="photo" >  <br> <br>
     <div class="layui-form-mid layui-word-aux">一旦选定，不可更改</div>
      </div>
    <br> <br>  <br> <br>   <br> <br>



    <button class="layui-btn layui-btn-normal" id="uploadBtn" type="submit">
        <span class="layui-icon layui-icon-upload"></span>
        提交
        </button>
      <button type="reset" class="layui-btn layui-btn-danger"  onclick="window.location.href='http://localhost:8080'">
          跳&nbsp;&nbsp;&nbsp;&nbsp;过
      </button>

</form>
</div>
<script src="../../layui/layui.js"></script>

</body>
</html>
